package com.itheima.pojo;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

//@Data注解是lombok.jar包下的注解，该注解通常用在实体bean上，不需要写出set和get方法，但是具备实体bean所具备的方法，简化编程提高变成速度。
//
// 2、@Data相当于@Getter @Setter @RequiredArgsConstructor @ToString @EqualsAndHashCode这5个注解的合集。

@Data
public class Food  {

//    private static final long serialVersionUID = 1L;


    private Integer id;
    private String type;
    private String name;
    private String categoryId;
    private String price;
    private String code;
    private String image;
    private String description;
    private String status;
    private String sort;
    private String createTime;
    private String updateTime;
    private String createUser;
    private String updateUser;
    private List<Foodattribute> flavors;
    private String categoryName;
    private String copies;

}

